<!--
 * @Descripttion: your project
 * @version: 1.0
 * @Author: hongweixun
 * @Date: 2022-07-13 15:40:59
 * @LastEditors: hongweixun
 * @LastEditTime: 2022-09-08 10:48:18
-->
<template>
  <el-row class="border-box-flex">
    <el-row
      :class="index != borderList.length - 1 ? 'border-row-box' : ''"
      v-for="(item, index) in borderList"
      :key="index"
    >
      <el-col :span="12">{{ item.item }}</el-col>
      <el-col :span="12" style="text-align:right;">{{ item.count }}</el-col>
    </el-row>
  </el-row>
</template>
<script>
export default {
  props: {
    borderList: {
      type: Array,
      default: () => []
    },
    idx: {
      type: Number,
      default: 0
    }
  }
}
</script>
<style lang="less" scoped>
.border-box-flex {
  width: 100%;
  height: 100%;
  color: #fff;
  padding: 0.975rem 1.56rem;
  box-sizing: border-box;
  background: rgba(15, 17, 136, 0.507);
  opacity: 1;
  border-radius: 4px;
  box-shadow: 2px 2px 15px #0647eb inset;
  .col-common-box {
    padding: 10px 0;
    text-align: center;
    color: #fff;
    font-size: 1rem;
  }
  .border-flex-font {
    font-size: 1.75rem;
    color: #f07004;
    margin-top: 10px;
  }
  .border-row-box {
    margin-bottom: 1rem;
  }
}
</style>
